#-------------------------------------------------
#
# Project created by QtCreator 2023-08-25T16:20:59
#
#-------------------------------------------------

QT       += core gui

# 串口通信
QT += core gui serialport
QT += charts
QT += serialport
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = DeerMotor
TEMPLATE = app

RC_ICONS = src\image\deer.ico
# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

CONFIG += c++11

SOURCES += \
        main.cpp \
        widget.cpp \
    src/code/c/Comm.cpp \
    src/code/c/includes.cpp \
    control.cpp \
    calibration.cpp \
    about.cpp \
    deerrxhandle.cpp \
    updataapp.cpp \
    motorset.cpp \
    usb_listener.cpp

HEADERS += \
        widget.h \
    src/code/c/Comm.h \
    control.h \
    calibration.h \
    about.h \
    deerrxhandle.h \
    src/code/c/includes.h \
    updataapp.h \
    motorset.h \
    usb_listener.h

FORMS += \
        widget.ui \
    control.ui \
    calibration.ui \
    about.ui \
    updataapp.ui \
    motorset.ui

# 搜索路径
INCLUDEPATH += $$PWD/src/code/c

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    image.qrc

DISTFILES +=
